package com.xidian.GMS.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class IndexController {

	@RequestMapping(value="/index",method=RequestMethod.GET)
	public String test(){
		System.out.println("测试");
		return "forward:/WEB-INF/views/index.html";
	}
	
	@RequestMapping(value="/login",method=RequestMethod.GET)
	public String test1(){
		System.out.println("测试");
		return "forward:/WEB-INF/views/login.html";
	}
}
